package com.baidu;

import android.app.Activity;
import android.os.Bundle;
import android.widget.TextView;

import com.baidu.dao.TraceDao;
import com.baidu.trackshow.R;

import java.util.List;

/**
 * Created by co-mall on 2016/6/14.
 */
public class TraceLogActivity extends Activity {
    private TraceDao dao;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_trace_log);
        dao = new TraceDao(TraceLogActivity.this);
        TextView traceLog = (TextView) findViewById(R.id.traceLog);
        List<String> temp = dao.query();
        traceLog.setText(temp.toString());
    }
}
